using System;
using Xunit;

namespace LanguageLearnTestCase.String
{
    public class StringToFuncOrAction
    {
        [Theory]
        [InlineData(nameof(TestExecuteStaticMethod), "TestExecuteStaticMethod")]
        public void OnExecute(string nameofValue, string result)
        {
            Assert.Equal(result, nameofValue);
        }

        private static string TestExecuteStaticMethod(int value)
        {
            return string.Empty;
        }
    }
}
